import _ from 'lodash'
import './src/style/index.css'
import {square} from "./src/math";


function component() {
    const element = document.createElement('div');
    element.innerHTML = _.join(['Hello', 'build'], ' webpack ');
    element.classList.add('hello');
    element.classList.add('hell2o');

    const button =  document.createElement('button');
    button.innerHTML = '点击我打印内容';
    button.classList.add('btn');

    // button.addEventListener('click', printMe);

    element.appendChild(button);

    console.log(square(5),'squaresquaresquaresquaresquare');

    return element;
}

document.body.appendChild(component());
